package com.yt.order.models.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yt.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 工单BO
 *
 * @author xieyanfei
 * @Date 2025-09-04 21:53:07
 */
@Data
public class WorkOrderInfoBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "工单状态")
    private Integer status;

    @ApiModelProperty(value = "工单类型")
    private Integer type;

    @ApiModelProperty(value = "支付状态")
    private Integer payStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    @ApiModelProperty(value = "客户姓名")
    private String name;

    @ApiModelProperty(value = "排序字段")
    private String orderField;

    @ApiModelProperty(value = "排序方式：asc/desc")
    private String orderType;
}